<div class="form-group">
    <label class="col-sm-2 control-label">
        #(jxrb.message("systemDuty.parent"))
    </label>
    <div class="col-sm-5">
        <input name="old_parentid" type="hidden" value="#(systemDuty.parent_id ??)"/>
        <input name="systemDuty.parent_id" type="hidden" value="#(systemDuty.parent_id ??)" id="parentId"/>
        <div class="row">
            <div class="col-lg-6">
                <div class="input-group">
                    <input type="text" class="form-control" value="#(systemDuty.parentName ??)" id="parentName" jac_url="#(jxwebpath.item)service/duty/list/" 
                           jac_viewnum_url="#(jxwebpath.item)service/duty/viewNum/" jac_id="parentId" jac_change="changeDuty()" />
                    <div class="input-group-btn">
                        <button type="button" class="btn btn-white dropdown-toggle" data-toggle="dropdown">
                            <span class="caret"></span>
                        </button>
                        <ul class="dropdown-menu dropdown-menu-right" role="menu">
                        </ul>
                    </div> <!--input-group-btn-->
                </div> <!--input-group-->
            </div> <!--col-lg-6-->
        </div> <!--row-->
    </div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group">
    <label class="col-sm-2 control-label">
        #(jxrb.message("systemDuty.dutyCode"))
    </label>
    <div class="col-sm-9">
        <input name="systemDuty.duty_code" class="form-control" type="text" value="#(systemDuty.duty_code ??)" id="dutyCode"/>
    </div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group">
    <label class="col-sm-2 control-label">
        #(jxrb.message("systemDuty.dutyName"))
    </label>
    <div class="col-sm-9">
        <input type="hidden" name="systemDuty.duty_id" value="#(systemDuty.duty_id ??)" />
        <input name="systemDuty.duty_name" jtag='#(jxrb.message("systemDuty.dutyName"))' class="form-control" type="text" value="#(systemDuty.duty_name ??)" id="dutyName"/>
    </div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group">
    <label class="col-sm-2 control-label">
        #(jxrb.message("systemDuty.description"))
    </label>
    <div class="col-sm-9">
        <textarea rows="1" class="form-control" name="systemDuty.description">#(systemDuty.DESCRIPTION ??)</textarea>
    </div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group">
    <label class="col-sm-2 control-label">
        #(jxrb.message("public.viewnum"))
    </label>
    <div class="col-sm-9">
        <input name="old_view_num" type="hidden" value="#(treeInfo.createTreeNode(systemDuty).treeNode.treeLevelInfo.viewNum-1 ??)"/>
        <input name="view_num" type="text" class="form-control" value="#(treeInfo.createTreeNode(systemDuty).treeNode.treeLevelInfo.viewNum-1 ??)" id="viewNum"/>
    </div>
</div>
<div class="hr-line-dashed"></div>
<div class="form-group">
    <label class="col-sm-2 control-label">
        #(jxrb.message("systemRole"))
    </label>
    <div class="col-sm-9">
        <input type="hidden" name="group_id" id="group_id" value=""/>
        <input type="hidden" name="old_group_id" id="old_group_id" value=""/>
        <ul id="treeInfo" class="ztree"></ul>
    </div>
</div>
